package ru.efimmatytsin.tweeterella.viewmodels;

import java.sql.Date;

/**
 * Created by Efim Matytsin on 28.02.15.
 */
public class TweetViewModel {
    private String id;

    private String fromUserId;

    private TweetViewModel replyFrom;

    private Date created;

    private String text;

    public TweetViewModel() {
    }

    public TweetViewModel(String id, String fromUserId, TweetViewModel replyFrom, Date created, String text) {
        this.id = id;
        this.fromUserId = fromUserId;
        this.replyFrom = replyFrom;
        this.created = created;
        this.text = text;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId;
    }

    public TweetViewModel getReplyFrom() {
        return replyFrom;
    }

    public void setReplyFrom(TweetViewModel replyFrom) {
        this.replyFrom = replyFrom;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
